package xmlcollabclient.staro;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 *
 * @author Sasa
 */
public class XMLCollabClient {

    public static void main(String[] args) throws Exception {

        Protocol p = new Protocol();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("napisi komandu:");

        String line;
        do {
            line = br.readLine();
            p.send(line);
        } while(!line.equals("exit"));


        
    }
}
